package com.cac.demo.newCode.cemop.mapper;

import com.cac.demo.newCode.cemop.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CemopMapper {
    //接收到Cemop通知，协调归零
    public int updateCemopWmsDeliveryCo(@Param("map") Map map);

    /**
     * 查询配套信息
     *
     * @return
     */
    public List<CemopMathchBillVO> selectCemopMathchBillLInfo();

    /**
     * 查询分拣信息
     * @return
     */
    public List<CemopMathchSortingVO> selectCemopMathchSortingInfo(@Param("matchInfoId") String matchInfoId);

    /**
     * 查询配套物料信息
     *
     * @return
     */
    public List<CemopMaterialInfoVO> selectCemopMaterialInfo(@Param("plandIds") List<String> plandIds);

    /**
     * 查询撤销配送
     * @return
     */
    public List<CemopCancelDeliveryVO> selectCemopCancelDeliverInfo();

    /**
     * 二次配套更新match_info表
     * @param wmsDeliveryPlanId
     * @param receQty
     * @return
     */
    public int materialSecondMatchInfo(@Param("wmsDeliveryPlanId") String wmsDeliveryPlanId,@Param("receQty") String receQty);

//    /**
//     * 查询库存确认
//     * @return
//     */
//    public List<CemopStockVO> selectCemopStockInfo();





}
